package org.he.org.mapper;

import org.he.auth.dto.LoginDTO;
import org.he.basic.mapper.BaseMapper;
import org.he.org.domain.Department;
import org.he.org.domain.Employee;
import org.he.org.query.DepartmentQuery;

import java.util.List;

/**
 * @author He
 * @date 2023/11/30  10:32
 */
public interface IEmployeeMapper extends BaseMapper<Employee> {
//    List<Department> getTree();

    Employee queryByUsername(LoginDTO loginDTO);

    List<String> queryPermissionsById(Long id);

    List<Employee> getExpExportList(DepartmentQuery query);

    Long queryDepName(String name);
}
